package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.entitys.User;

public interface UserService {
    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    PageInfo<User> selectAll(Integer pageindex, User record);

    public User loginPhone(String phone);

    public User selectBypwd(String loginName,String loginPwd);

    int insertUserbirthday( String loginname, String day);
}